<?php
declare (strict_types = 1);

//php8.1+ 参数的默认值可以是对象对象
 class MyClass{
    public $color = "red";
    public $height = "163cm";
};
function getBigName($arr = new MyClass)
{
    var_dump($arr);
}
getBigName();
